<?php
return array(
    'ModuleProfile' => array(
        'table'          => 'module_profile',
        'columns'        => array('userId', 'level', 'exp', 'freeToken', 'purchasedToken', 'commodityValue', 'energy', 'energyLimit', 'lastEnergyChargedTime', 'registerTime', 'lastLoginTime','targetId','coolingTime'),
        'autoIncrColumn' => null,
        'diffUpColumns'  => array(1, 2, 3, 4, 5, 6), // difference update columns
        'updateFilter'   => array(0),
        'toArrayFilter'  => array(),
        'searchColumns'  => array(0),
        'updateColumns'  => array(0),
        'jsonColumns'    => array(),
        'cacheColumn'    => 0,
        'shardColumn'    => 0,
        'pkColumn'       => 0,
        'deleteColumns'  => array(0),
        'tableShardCount'=> -1,
        'isList'         => false,
        'dbType'         => 'MySql',
        'cacheTime'      => 259200, // 3 days
    ),
    'ModuleProfileInfo' => array(
        'table'          => 'module_profile_infos',
        'columns'        => array('userId', 'infoType', 'info', 'time'),
        'autoIncrColumn' => null,
        'diffUpColumns'  => array(),
        'updateFilter'   => array(0, 1),
        'toArrayFilter'  => array(),
        'searchColumns'  => array(0, 1),
        'updateColumns'  => array(0, 1),
        'jsonColumns'    => array(2 => 512),
        'cacheColumn'    => 0,
        'shardColumn'    => 0,
        'pkColumn'       => 1,
        'deleteColumns'  => array(0, 1),
        'tableShardCount'=> -1,
        'isList'         => true,
        'dbType'         => 'MySql',
        'cacheTime'      => 259200, // 3 days
    ),
);